-- GENERATED SPELL FOR [Fringe Engineer Tezzla] --


function spell0_32430(pUnit, Event) --@Welding Beam,n/a--
pUnit:FullCastSpellOnTarget(61998,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32430', 5000, 1)
end

function Sorts_32430(pUnit, Event)
local choix_sorts_32430 = math.random(0, 0)
if choix_sorts_32430 == 0 then
pUnit:RegisterEvent('spell0_32430', 1, 1)
end
end

function mob32430_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32430', math.random(1500, 3000), 1)
end

function mob32430_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32430_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32430_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32430, 1, 'mob32430_Action')
RegisterUnitEvent(32430, 2, 'mob32430_Leave')
RegisterUnitEvent(32430, 3, 'mob32430_Kill')
RegisterUnitEvent(32430, 4, 'mob32430_Die')
